package com.zwl.dao;

import java.util.List;
import java.util.Map;

import com.zwl.po.UserPo;

public interface UserDao {
	public List<UserPo> findByCondition(Map<String, Object> map);
	
	public UserPo findbyId(Integer id);
	
	public Integer[] saveUser(UserPo entity);
	
	public int updateUser(UserPo entity);
	
	public int saveUserRole(Integer userId,Integer roleId);
	
	public int deleteUserRole(Integer userId,Integer roleId);
}
